package com.swl.dao;

import com.swl.pojo.Score;
import org.apache.ibatis.annotations.Param;

public interface ScoreDao {
    int insertScore(@Param("userName") String userName);

    Score selectByName(@Param("userName")String userName);

    int updateScore(@Param("userName")String userName, @Param("sum") int sum);
}
